package com.example.ymm.modules1.service.dto;

import com.example.ymm.annotation.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DbUserQueryCriteria implements Serializable {

    @Schema(name= "模糊查询：名称")
    @Query(blurry = "userName")
    private String keyword;


    @Schema(name= "是否删除：0->未删；1->已删")
    @Query()
    private Integer isDelete;

    @Schema(name= "状态,0正常,1冻结")
    @Query()
    private Integer state;

    @Schema(name= "是否参与读书:0 否 1是")
    @Query()
    private Integer isRead;

    @Schema(name= "班级id")
    @Query()
    private String clazzId;

    @Query(type=Query.Type.IN)
    private List<String> userId;

    String userIds;

    @Query(type=Query.Type.IN)
    private List<String> levelName;

    private String levelNames;

}
